// message.js
const Layout = () => import('@/layout/index.vue');
const SendHistory = () => import('@/views/message/SendHistory/index.vue');
const TemplateManage = () => import('@/views/message/TemplateManage.vue');
const SignatureManage = () => import('@/views/message/SignatureManage.vue');

export default [
  {
    path: '/message',
    component: Layout,
    name: 'message',
    meta: {
      title: 'menu.message',
    },
    icon: 'Message',
    children: [
      {
        path: 'sendHistory',
        name: 'sendHistory',
        component: SendHistory,
        meta: {
          title: 'menu.sendHistory',
        },
      },
      {
        path: 'templateManage',
        name: 'templateManage',
        component: TemplateManage,
        meta: {
          title: 'menu.templateManage',
        },
      },
      {
        path: 'signatureManage',
        name: 'signatureManage',
        component: SignatureManage,
        meta: {
          title: 'menu.signatureManage',
        },
      },
    ],
  },
];
